home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / tail.zip / README < prev    next >
Text File  |  1988-04-08  |  2KB  |  38 lines

  1. The file TAIL.COM is my implementation of the tail utility for MSDOS
  2. machines.
  3.  
  4. Version 2.0 given here was written in Turbo 3.0, and was post-optimized
  5. using the TurboPower Software's library compactor and optimizer.
  6.  
  7. The program is copyright 1987 A. M. Lovell.
  8.  
  9. It is self documenting.  It might ask you for money, as it has a very high
  10. opinion of itself.  It claims to be a member of a set of text file tools
  11. called the TOFU collection.  Actually, it looks a lot less foolish in their
  12. company.
  13.  
  14. The power of this utility is that it leaps about the input file using seeks
  15. and blockreads.  This makes it very fast to give you the end of a very long
  16. file, and also frees it of any need for memory for storing the file.  The
  17. drawback to the approach is that you cannot measure your starting point in
  18. lines, but must do so instead in characters.
  19.  
  20. The HEAD utility posted a short while back on USENET took the other approach,
  21. so a synergy can be achieved by using them together.  Use TAIL to chop off
  22. a chunk of the end of the file, then have HEAD do the dirty job of counting
  23. the lines of text.  This combination will give you TAIL's speed and HEAD's
  24. ability to count lines of text.
  25.  
  26. The other (meatier) pieces of the TOFU dataset will follow shortly.  You
  27. should only allow your conscience to gnaw at you if you find yourself
  28. using a number of these programs.  If you don't cave in and register,
  29. you will be unable to enjoy life.  All will be gray.  Food will be tasteless.
  30. Your sea monkeys will belly-up.  You get the picture.  But if this little guy
  31. is all you ever see - forget it.
  32.  
  33. Direct any comments/hints/flames to:
  34.  
  35. Tony Lovell
  36.  
  37. amlovell@phoenix.princeton.edu
  38.